const getImageData = require("../service/images-api")

class ImagesController {
  async getImage(ctx, next) {
    const { data } = await getImageData()
    ctx.body = data
  }
}

module.exports = new ImagesController()